From: Keir Fraser Date: Wed, 19 Aug 2009 12:16:50 +0000 (+0100) Subject: x86 hvm: Remove vendor-specific feature masking of 0x1:ECX. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13459 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=5ae9d73d9301cdf95b6567be8fcf1631c3f0b66a;p=xen.git x86 hvm: Remove vendor-specific feature masking of 0x1:ECX. Vendors are respecting each others bits. Signed-off-by: Andre Przywara --- diff --git a/tools/libxc/xc_cpuid_x86.c b/tools/libxc/xc_cpuid_x86.c index f9ef0de10b..f31066a460 100644 --- a/tools/libxc/xc_cpuid_x86.c +++ b/tools/libxc/xc_cpuid_x86.c @@ -71,13 +71,6 @@ static void amd_xc_cpuid_policy( { switch ( input[0] ) { - case 0x00000001: - /* Mask Intel-only features. */ - regs[2] &= ~(bitmaskof(X86_FEATURE_SSSE3) | - bitmaskof(X86_FEATURE_SSE4_1) | - bitmaskof(X86_FEATURE_SSE4_2)); - break; - case 0x00000002: case 0x00000004: regs[0] = regs[1] = regs[2] = 0; @@ -126,11 +119,6 @@ static void intel_xc_cpuid_policy( { switch ( input[0] ) { - case 0x00000001: - /* Mask AMD-only features. */ - regs[2] &= ~(bitmaskof(X86_FEATURE_POPCNT)); - break; - case 0x00000004: /* * EAX[31:26] is Maximum Cores Per Package (minus one).